tests: Add a pre-signed-pull.sh test
authorColin Walters <walters@verbum.org>
Thu, 11 Jun 2020 18:31:33 +0000 (18:31 +0000)
committerColin Walters <walters@verbum.org>
Thu, 11 Jun 2020 18:56:35 +0000 (18:56 +0000)
commit40d6f6b5eee9d7bb5e29663eddbf659ca0818a73
tree5de86b9ff6c961d6917dd21c731933389d7f39f0
parenta128eb551a8ffbb9c079d5b628afb907e14fd081
tests: Add a pre-signed-pull.sh test

I'm thinking about adding an implementation of ed25519 signatures
with OpenSSL (so we can ship the feature with Fedora CoreOS
without requiring an additional library) and in preparation for
that it's essential that we validate that libsodium-generated
signatures and OpenSSL-generated signatures are compatible.

I don't know if they are yet actually, but the goal of this
new test is to add a pre-generated repository with a signed
commit generated by libsodium.

This will catch if e.g. there's ever a change in libsodium,
or if existing libsodium implementation versions (e.g. the
one in Debian) might differ from what we ship here.
Makefile-tests.am
tests/pre-signed-pull-data.tar.gz [new file with mode: 0644]
tests/test-pre-signed-pull.sh [new file with mode: 0755]